Assertions.EnabledAssertion (Apache Ant API)

org.apache.tools.ant.types

## Class Assertions.EnabledAssertion

- java.lang.Object
- - org.apache.tools.ant.types.Assertions.BaseAssertion
  - - org.apache.tools.ant.types.Assertions.EnabledAssertion

- Enclosing class:
    Assertions

      public static class Assertions.EnabledAssertion
      extends Assertions.BaseAssertion

  an enabled assertion enables things

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Assertions.EnabledAssertion()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getCommandPrefix()` get the prefix used to begin the command; -ea or -da.

    - ### Methods inherited from class org.apache.tools.ant.types.Assertions.BaseAssertion

      `getClassName, getPackageName, setClass, setPackage, toCommand`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Assertions.EnabledAssertion

          public Assertions.EnabledAssertion()

  - ### Method Detail

    - #### getCommandPrefix

          public java.lang.String getCommandPrefix()

      get the prefix used to begin the command; -ea or -da.
      Specified by:
        `getCommandPrefix` in class `Assertions.BaseAssertion`
      Returns:
        prefix